package common.dto.coupon;

import java.math.BigDecimal;
import java.time.LocalDateTime;

import lombok.Data;

@Data
public class CouponDTO {
    private Long id;
    private String couponCode;
    private String name;
    private Integer type;
    private BigDecimal value;
    private BigDecimal minAmount;
    private Boolean platformWide;
    private Long shopId;
    private Integer totalCount;
    private Integer remainingCount;
    private Integer perUserLimit;
    private LocalDateTime startTime;
    private LocalDateTime endTime;
    private Integer validityDays;
    private Boolean stackable;
    private LocalDateTime seckillStart;
    private LocalDateTime seckillEnd;
    private Integer seckillLimit;
    private Integer status;
    private boolean isReceived;//判断用户是否已经领取
}
